package models_main

import (
	"fmt"
	"longmen/server/pkg/db/mysql/models"
	"time"
)

type BlackKeyword struct {
	AdminId    string    `json:"admin_id" gorm:"admin_id"`
	Keyword    string    `json:"keyword" gorm:"keyword"`
	Note       string    `json:"note" gorm:"note"`
	AddTime    time.Time `json:"add_time"  gorm:"add_time"`
	ModifyTime time.Time `json:"modify_time"  gorm:"modify_time"`
}

func (BlackKeyword) TableName() string {
	return fmt.Sprintf("%sblack_keyword", models.Prefix)
}
